body {
	margin: 0;
	padding: 0;
	background: #88c9e8; /* Old browsers */
	background: -moz-linear-gradient(45deg, #88c9e8 25%, #066dab 100%);
	background: -webkit-gradient(linear, left bottom, right top, color-stop(25%, #88c9e8), color-stop(100%, #066dab)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(45deg, #88c9e8 25%, #066dab 100%);
	background: -o-linear-gradient(45deg, #88c9e8 25%, #066dab 100%);
	background: -ms-linear-gradient(45deg, #88c9e8 25%, #066dab 100%);
	background: linear-gradient(45deg, #88c9e8 25%, #066dab 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(   startColorstr='#88c9e8',endColorstr='#066dab', GradientType=1);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center;
	
	-moz-user-select: none; 
    -khtml-user-select: none; 
    -webkit-user-select: none; 
    -o-user-select: none;
}

#header {
	height: 40px;
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
/* 	-webkit-box-shadow: 0px 0px 10px 10px #D8E2F2; */
/* 	box-shadow: 0px 0px 10px 10px #D8E2F2; */
/* 	background-color: #D8E2F2; */
	
	-webkit-box-shadow: 0px 0px 10px 10px black;
	box-shadow: 0px 0px 10px 10px black;
	background-color: black;
}

#headerContent{

}

#appLogo{
	position: absolute;
	width: 50px;
	height: 50px
}

#projectName{
	position:absolute;
	height: 30px;
	width: 180px;
	left:60px;
	margin-top:10px;
	
	font-size: x-large;
	font-style: italic;
	font-weight: bold;
	color: #D8E2F2;
}

#headerTools{
	position: absolute;
	margin-top:10px;
	right: 100px;
}

.open-telegrams-dialog-button{
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.open-telegrams-dialog-button-icon{
	width: 32px;
	height: 32px;
}

#logout{
	position: absolute;
	margin-top: 10px;
	right: 10px;
	text-align: right;
}

#sidebar {
/* 	position: relative; */
	margin-top: 20px; 
	width : 165px;
	float: left;
	overflow: auto;
	padding: 10px;
	background:rgba(245,187,61,0.5);
	-webkit-box-shadow: 0px 0px 5px 5px rgba(245,187,61,0.5);
	box-shadow: 0px 0px 5px 5px rgba(245,187,61,0.5);
	
/* 	background:rgba(100,100,150,0.5); */
/* 	-webkit-box-shadow: 0px 0px 5px 5px rgba(100,100,150,0.5); */
/* 	box-shadow: 0px 0px 5px 5px rgba(100,100,150,0.5); */
	
	display: table;
/* 	-webkit-border-top-right-radius: 10px; */
/* 	-webkit-border-bottom-right-radius: 10px; */
/* 	-moz-border-radius-topright: 10px; */
/* 	-moz-border-radius-bottomright: 10px; */
/* 	border-top-right-radius: 10px; */
/* 	border-bottom-right-radius: 10px; */
	z-index: 1;
}

#main {
	position: absolute;
/* 	margin-top: 20px; */
/* 	margin-left: 10px; */
/* 	float: left; */
	top: 80px;
	left: 195px;
	overflow: auto;
	background:rgba(100,100,150,0.5);
	-webkit-box-shadow: 0px 0px 5px 5px rgba(100,100,150,0.5);
	box-shadow: 0px 0px 5px 5px rgba(100,100,150,0.5);
/* 	border: solid 1px black; */
}

#sublayers{
	position: relative;
	width: 100%;
	height: 50px;
	display: inline-block;
	z-index: 2;
}

.sublayer{
	display: inline-block;
	margin-left: 2px;
}
.sublayer-container{
	margin-left: 50px;
}

#content{
	position: absolute;
/* 	top: 140px; */
	width: 100%;
	height: 40px;
	overflow: hidden;
/* 	background-color: white; */
}

#footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 50px;
/* 	-webkit-box-shadow: 0px 0px 10px 10px #D8E2F2;  */
/* 	box-shadow : 0px 0px 10px 10px #D8E2F2; */
/* 	background-color: #D8E2F2; */

	-webkit-box-shadow: 0px 0px 10px 10px black; 
	box-shadow : 0px 0px 10px 10px black;
	background-color: black;
	color: white;
	
	display: none;
}

#projectchooser{
	display: none;
	z-index: 200;
}

.modal{
	position: absolute;
	top:-10px;
	left:0;
	width: 100%;
	height: 100%;
	z-index: 100;
	display: none;
}

.modalBody{
	top:0;
	left:0;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 101;	
}

.modalBackground{
	top:0;
	left:0;
	background:rgba(0,0,0,0.25);
	position: absolute;;
	width: 100%;
	height: 100%;
	z-index: 100;	
}

.tooltip{
	position: absolute;
	display: none;
	background: rgba(0,230,0,0.8);
	padding: 10px;
	max-width: 300px;
	
	-webkit-box-shadow: 0px 0px 10px 10px rgba(0,230,0,0.8);
	box-shadow : 0px 0px 10px 10px rgba(0,230,0,0.8);
	
	color: white;
	font-style: italic;
	font-size: medium;
	z-index: 2;
}
#dialog-window{
	z-index: 1000;
}
.dialogs{
/* 	display: none; */
	
}

.feedback{
	width: 99%;
	text-align: center;
	font-size: small;
	font-weight: bold;
}

.feedbackPanelERROR{
	color: red;
}
.feedbackPanelINFO{
	color: green;
}
.feedbackPanelWARNING{
	color: yellow;
}

.feedback ul li {
	list-style: none;
}

.labels{
	font-size: small;
	font-style: italic;
	font-weight: bold;
	color: silver;
}

/* PROJECT DIALOG */
#project-feedback-div{
	
	height: 50px;

}
#project-form-div{
	position: absolute;
	top: 60px;
	width: 300px;
}
.project-form-inputs{
	width: 250px;
	margin-left: 15px;
}

#layer-feedback-div{
	
	height: 50px;

}
#layer-form-div{
	position: absolute;
	top: 60px;
	width: 300px;
}
.layer-form-inputs{
	width: 250px;
	margin-left: 15px;
}

#project-image-form-div{
	position: absolute;
	top: 150px;
	right: 60px;
	width: 100px;
}
#project-image{
	position: absolute;
	top: 60px;
	right: 50px;
	width: 100px;
	height: 100px;
}
#project-image-loading{
	position: absolute;
	top: 60px;
	right: 50px;
	width: 100px;
	height: 100px;
	z-index: 1;
}

.delete-message{
	color: red;
	text-align: center;
	font-size: medium;
}

.new-layer-item{
	position: relative;
}
.new-sublayer-item{
	position: absolute;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#new-sublayer-item-icon{
	width: 35px;
	height: 35px;
	padding: 5px;
}

.layer-icon-chooser{
	position: absolute;
	width: 390px;
	min-height: 170px;
	top: 10px;
	padding: 30px;
	margin: 0;
	background: rgba(0, 0, 0, 0.8);
	border: 2px solid rgba(0, 0, 0, 0.9);
	z-index: 1;
	display: none;
	
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	
	text-align: center;
}
.layer-icon-chooser-item{
	width: 58px;
	height: 58px;
	padding: 10px;
/* 	border: 1px solid black; */
}

.layer-icon-container{
	position: absolute;
	width: 60px;
	height: 60px;
	padding: 20px;
	top: 90px;
	right: 50px;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid black;
	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.layer-icon{
	width: 60px;
	height: 60px;
}

.focused{
	background-color: rgba(245,187,61,1);
}

#elements-area{
	position: relative;
	float: right;
	width: 20px;
	left: 0px;
	z-index: 1;
}

#triggers{
	position: absolute;
	left: -2px;
	width: 20px;
	height: 100%;
	z-index: 1;
}

.trigger-wrapper{
	position: relative;
	background: rgba(245,187,61,0.7);
	left: -2px;
	width: 20px;
	height: 50%;
	z-index: 1;
	
	border-left: 2px solid black;
	
	-webkit-border-top-left-radius: 20px;
	-webkit-border-bottom-left-radius: 20px;
	-moz-border-radius-topleft: 20px;
	-moz-border-radius-bottomleft: 20px;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
}

.trigger{
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 2;
	-webkit-border-top-left-radius: 20px;
	-webkit-border-bottom-left-radius: 20px;
	-moz-border-radius-topleft: 20px;
	-moz-border-radius-bottomleft: 20px;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
}

.trigger-wrapper span{
	position: absolute;
	width: 100%;
/* 	height: 100%; */
	text-align: center;
	top: 20px;
	
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	-ms-transform: rotate(90deg);

	color: white;
	font-size: large;
	z-index: 3;

}

.elements-panel{
	position: absolute;
	background: rgba(0,0,0,0.4);
	width: 100%;
	height: 100%;
	overflow:auto;
	display: none;
}

.settings-panel{
	position: absolute;
	background: rgba(0,0,0,0.4);
	width: 100%;
	height: 100%;
	display: none;
	overflow: auto;
}

#sublayer-settings-content{
	width: 100%;
	height: 100%;
	overflow: hidden;
	clear: both;
}

.draggable-element{
	z-index: 102;
}
.dragged-element{
	z-index: 102;
}

#trash{
	position: absolute;
	bottom: 10px;
	width: 100%;
	height: 64px;
	margin: auto;
	z-index: 100;
	text-align: center;
	display: none;
}
#trash-icon{
	width: 64px;
	height: 64px;
	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	z-index: 101;
}

.over-trash{
	background: rgba(255, 0, 0, 0.5);
}

.background-image-div{
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 0;
}

#elements-container{
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.background-image{
	max-width: 100%;
	max-height: 100%;
}

#background-image-form-div{
	text-align: center;	
}

.background-image-buttons{
	margin: 2px;
	width: 150px;	
}

#loading{
	position: absolute;
	width: 100%;
	height: 90%;
	text-align:center;
	z-index: 1000;
/* 	display: none; */
}
#loading-img{
	position: absolute;
	top: 200px;
	width: 100px;
	height: 100px;
	z-index: 1001;
}

#msg{
	position: absolute;
}

.new-element-item{
	position: absolute;
   	left: 50%;
   	margin-left: -75px;

}

.elements{
	position: absolute;
	top: 60px;
	width: 99%;
	height: 85%;
	overflow: auto;
}

.controller{
/* 	position: relative; */
	display:inline-block;

}



/* ELEMENTS DIALOG */
.element-feedback-div{
	height: 50px;
	overflow: auto;
}
.element-chooser{
	position: absolute;
	width: 520px;
	min-height: 250px;
	top: 10px;
	padding: 30px;
	margin: 0;
	background: rgba(0, 0, 0, 0.8);
	border: 2px solid rgba(0, 0, 0, 0.9);
	z-index: 1;
/* 	display: none; */
	
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	
	text-align: center;
}

.element-chooser-preview{
	position: absolute;
	top: 60px;
	width: 580px;
	height: 80px;
	text-align: center;
	
}

.element-chooser-preview-item{
	display: inline-block;
}

.element-chooser-preview-item .slider{
	height: 70px;
}

.element-chooser-preview-item .light-slider{
	height: 70px;
}

.element-chooser-preview-item .controller-slider-image{
	display: none;
}

.element-chooser-preview-item .slider_50{
	position: absolute;
	display: inline-block;
	left: 5px;
	top: 40px;
}

.element-chooser-item{
	position: relative;
	display: inline-block;
	margin: 5px;
}

.element-chooser-item .popup-menu-item-body{
	width: 150px;
	height: 50px;
}

.element-chooser-item .popup-menu-item-icon{
	position: absolute;
	left: 5px;
	width: 50px;
	height: 50px;
}

.element-chooser-item .popup-menu-item-name{
	position: absolute;
	padding: 5px;
	left: 50px;
	width: 100px;
	height: 50px;
	text-align: center;
	font-size: medium;
}

#element-form-div{
	position: absolute;
	top: 140px;
	width: 600px;
}
.element-form-inputs{
	width: 250px;
	margin-left: 15px;
}

#element-form-fields-table{
	position: absolute;
	width: 280px;
}

#element-form-addresses-table{
	position: absolute;
	width: 310px;
	top: 70px;
	right: 0px;

}

#group-address-level-chooser{
	position: absolute;
	height: 70px;
	width: 310px;
	right: 0px;
}

#group-address-level-chooser-title{
	font-style: italic;
	font-weight: bold;
	font-size: medium;
}

.group-address-level-chooser-options{
	margin-left: 20px;
}

.group-address-buttons{
	position: absolute;
	display:block;
	width: 98%;
	height: 35px;
	font-size: small;
	background: rgba(0,0,0,0.1);
}

#group-address-add-button{
	position: absolute;
}
#group-address-delete-button{
	position: absolute;
	right: 0px;
}

.popup-menu{
	position: absolute;
	display:none;
	z-index: 100;
}

.project-image-buttons{
	width: 120px;
	margin: 2px;
}

.visualisation-element{
	position: absolute;
}

#application-closed{
	display: none;
	font-size: small;
	font-weight: bold;
	text-align: center;
}